def METHOD_NAME(self, declared_type: TypeDef) -> TypeDef:
    """Add this type to our collection, if needed."""
    if declared_type not in self.collected_types.values():
        self.collected_types[declared_type.name] = declared_type
    return declared_type