Added shim for legacy handlers onChange and onSelect