Use template global provider to provide MenuSet function in any context of a template