Prevent declare error on callback.

This is easily triggered when using tab completions.