Use `action` instead of `event`.

Resolves #919.