Fix typos, add docs.
More docs, cleanup, pipePromise (for completeness).
Fix switcher.
Docs.
Code style.