Added scheduler to initializer.