Allow to add bunch of menu items at once.
Fix bug - command parameter is always null.