public static function pluginMap($path="",$carry=array())
    {
        if ($path == '') {
            $path = static::defaultSearchDir();
        }
        $dir = opendir($path);
        while (($file = readdir($dir)) !== false) {
            if ($file[0] != '.' && $file != 'noauto' && is_dir($path.DIRECTORY_SEPARATOR.$file)) {
                $carry = self::pluginMap($path.DIRECTORY_SEPARATOR.$file,$carry);
            } elseif (substr($file,-4)==".php" && !in_array($file, static::$unmapped_files)) {
                $carry[substr($file,0,strlen($file)-4)] = realpath($path.'/'.$file);
            }
        }
        closedir($dir);

        return $carry;
    }