public static function __callStatic($name, $args) { if (!isset(self::$writer)) { self::$writer = new html\Writer(); } return call_user_func_array([self::$writer, $name], $args); }