Fixed API for initial tests with the transport layer.