Improve key to char mapping.