Removes unused classes.
Moves classes to the raw context.