Add support for global minor mode