Added ability to hook activation and deactivation actions by plugin's modules.