Visibility fix
expose entitymanager