Speed up the menu init still with respect to template content.