Support for custom onFocus and onBlur functions.