def METHOD_NAME(classes):
    """This is a bit of an ugly hack: For some classes, they are not in
       "unwanted" because we want them to resolve as base classes, but
       they are covered in SiconosFull.hpp, so we don't want them to
       appear in generated headers."""
    unwanted_resolved = ['_DynamicalSystemsGraph', '_InteractionsGraph']
    for u in unwanted_resolved:
        if u in classes:
            del classes[u]