Use more of the new syntax in example file
Simplify interface for transports