Adds add_receiver method to environment