Change the activate/deactivate methods to static classes.

Update the registration action hooks to use __CLASS__ instead of passing
the object.