Use String type to compare DeclaredType into ModelExtractor

See #471