Added menu callbacks to own namespace.