Refactoring of the GenderCodingInput type.