public static function set($name, $handler = null)
    {
        if (!is_array($name)) {
            $name = [$name => $handler];
        }
        static::$_handlers = static::$_handlers + $name;
    }