Adding explicit support for boolean fields.