widl: Allow format-string functions to work with objects.