Allow binding to keypress event