Shared building blocks for loopback connectors