Remove the old class names from the autoload.
Remove old hooks and add events.