Change has_<field> methods to HasField('<field>')