add define, defined?, lookup and set methods to environment