Prevent crash when $tokens->{form} isn't an object.