Now that implementation for generic publishers and subscriptions exists in rclcpp, we can remove the duplicate code from domain_bridge.