add support for variantToStatus, mandatory and variantToMandatory