Getting rid of unnecessary static methods from EnvironmentAccessor.