def declare_type(self, declared_type):  
if declared_type not in self.collected_types:<EOL><INDENT>self.collected_types[declared_type.name] = declared_type<EOL><DEDENT>return declared_type<EOL>
Add this type to our collection, if needed.