Environment is now given to UserClass when constructing it or calling its methods.