Fix for `register_menu` usage
Merge pull request #2 from jirikuncar/master

Fix for `register_menu` usage