dia to sml: remove usages of the meta types enumeration