Done. Only 2 events now: `close` and `commit`.