Return a set of material types since it's such a common operation.