Add menu referrer implementation for dynamically adding items to menus.