Fixes missing init of transport object.