The reason I put it here was because I didn't want to have to repeat this in every module that required it.

What about putting it in ```menu.module.js```?