Adding support for customDiscreteFilterValue generation