def METHOD_NAME(self, node):
    for name in node.names:
        if name.asname is not None:
            self._add_declared(name.asname)
        else:
            self._add_declared(name.name.split(".")[0])