Found a clean way to make command -> glyph conversion extensible