Cleanup. Removes unused classes.