this needs to be `if on_behalf_of.responds_to? :uri