Added plugin activate and deactivate methods