Allow callbacks to be defined for connection.blocked and connection.unblocked