Adding invitation to the registration event hooks.