Restricted type matching to only type values, since type attributes need to be retained for semantic analysis.