clean up unused classes such as effects or the framebufferobject