Added hook menu. (Shared between control and menu plugin).