separate share publishing from share class