Passing Scheduler to EntityManager ctor.