Issue #136. Added a capability to define menu items in controllers.