Added processing of union when materializing superclass expressions.