Added keyCode and charCode.