@staticmethod
def clearApi(target):
    """Removes all methods added by importApi() from a target class.

    Args:
      target: The class to remove from.
    """
    for attr_name in dir(target):
        attr_value = getattr(target, attr_name)
        if callable(attr_value) and hasattr(attr_value, 'signature'):
            delattr(target, attr_name)
