feature(generator): Add support for Plugin management hooks. Closes #72