Renamed layer1 to transport_layer for clarity.