Factored and simplified key mappings.