$on and $off

Implemented `$on` and `$off`.

Update `sig/initialize` and `sig/finalize` to use `$on` and `$off`.