Enabling and disabling the extension now works as expected. Fixes issue #21.