Adding scheduler to the actor system.