A library of menu macro modifications for freemarker templates