Add a trait for Raft transport.