Instead of being hardcoded (who would DO that?), perhaps this could pull from the key spec dictionary?