/**
  * onAfterRender
  *
  * @return	void
  */
 public function onAfterRender()
 {
     if (class_exists('Extly') && Extly::hasApp()) {
         $app = JFactory::getApplication();
         // Get the response body .... an additional check for J! 3.0.0
         if (EXTLY_J3 && method_exists($app, 'getBody')) {
             $body = $app->getBody();
         } else {
             $body = JResponse::getBody();
         }
         Extly::insertDependencyManager($body);
         if (EXTLY_J3 && method_exists($app, 'setBody')) {
             $app->setBody($body);
         } else {
             JResponse::setBody($body);
         }
     }
     $this->_onAfterRender();
 }