method name ```register``` is something not very declarative. ```menuProvider.menu()``` would make more sense