Refactor|Material: Replaced Material's variant iteration mechanism