Made Enviroment a constructor argument of schedulers to make them immutable types.