Now supports changing the name of the entity manager.