Use fieldName (with optional ) as type for fields' getters.