support for removing classes in annotation macros