Makes the entity manager configurable