Add support for 'has_<field>' methods.