Implementation of extension enable/disable