Add support for fields with default values.