`$intents` is not defined.