public static function settings($settings = null)
    {
        if ($settings) {
            //set mode
            self::$settings = self::mergeSettings(self::$settings, $settings);
        } else {
            //get mode
        }

        //always return settings
        return self::$settings;
    }