/**
  * Destroys an environment. MUST be called when embedding environments.
  */
 public function destroy()
 {
     StaticContainer::pop();
 }