/**
  * Set a registry value.
  *
  * @param   string  $path       Registry Path (e.g. joomla.content.showauthor)
  * @param   mixed   $value      Value of entry
  * @param   string  $separator  The key separator
  *
  * @return  mixed  The value of the that has been set.
  *
  * @since   1.0
  */
 public function set($path, $value, $separator = '.')
 {
     $bak = $this->registry->getSeparator();
     $this->registry->setSeparator($separator);
     $this->registry->set($path, $value);
     $this->registry->setSeparator($bak);
     return $this->registry->get($path);
 }