I think we might be able to just do `class@contains <- list()`, given that we're removing all other classes in the package anyway