Template fun to compress our legacy menu<->floater glue.