Activate and deactivate methods.