Document the beforeChange event

As reported in #914