Wiring up menu to the model.