Ensure af_type is always set.