Silenced deprecation warnings in environment.rb