code: def component_activated(self, component):
          
          component.env = self
          super(Environment, self).component_activated(component)
docs: Initialize additional member variables for components.
  
          Every component activated through the `Environment` object
          gets an additional member variable: `env` (the environment object)