protected static function registerService($name, Doozr_Base_Service_Interface $service)
    {
        // Check how to store service in registry
        $uuid = (true === $service->isSingleton()) ?
            self::getRegistry()->set($service, $name) :
            self::getRegistry()->add($service, $name);

        return $uuid;
    }