Removing references to .class files