On the fence about leaving this here or moving this to connection.js... it kind of cross-cuts the `block` and `connection` concerns, maybe better in something like `block_connection_utils`?