Fix #35: add onFocus and onBlur events.