Added enum processing to TypeNameCheck