+ # Special case for *_as_man_days / *_as_man_days_string /
+ # *_as_man_days_unit: the _unit variation must always be called
+ # after the non-unit methods.
+ my @man_days_attributes = grep { m/_as_man_days(?:_string)?$/ } keys %attributes;
+ foreach my $attribute (@man_days_attributes) {
+ my $value = delete $attributes{$attribute};
+ $self->$attribute(defined($value) && ($value eq '') ? undef : $value);
+ }
+