Run gofmt, use fmt.Errorf, simplify SetField and isExportableField.