Add support for DeclaredType