Add support for major-mode specific prefixes