Reorder transport function.

Group all functions that implement Transport interface together and place at
the top of the method delarations.