Fixed plugin activation / deactivation.