Move activation hook registration to the main plugin file.