Using static function as handler + context changes