Activate and deactivate an extension should return boolean.

Signed-off-by: crynobone <crynobone@gmail.com>