KeyPress and Backspace methods.