Add onChange grouping support.

This enables us to listen to multiple onChange events easily.