How to enable and disable specific lines in v6

The equivalent to beforeChange is changeFilter, and the equivalent to origin on changes is the userEvent annotation.