what if ``self::$handler`` is not set ? you need to take it into account to avoid fatal errors