Autonomy/Trex: Moving activation and deactivation
from onMain to onActivation() and onDeactivation().