Factoring out environment related concepts