fix documentation issues

- align documentation for _setTransport
- restore object definitions broken in the previous commit