Automation for extending MenuItem

@bug W-2315592@
@rev john.huang@
Merging origin/rshah/master-pending-extendMenuItem into master