Move activation/deactivation hooks back to main file.