Removing classes that are no longer necessary.