This started with reverting commit 52cd02173d and then rewriting it to be per handler rather than handler identifier and adding support for hooks as well as adding implicit module groups.
52cd02173d