EntityManager: made constructor public.