Moved callbacks in menu alter to external file.