EntityManager can optionally be made non-extended