public static function &getRegistry($load = false)
    {
        $orm = static::getInstance();

        if ($load) {
            $orm->loadRegistry();
        }

        return $orm->getRegistryCache();
    }