Fix for getting menu-associations working under J2.5