Updated menu hook callbacks.