15% speed-up from reducing use of reflection for keys