deprecate `add_block_listener` in favour of `on`