Add environment getter and setter methods