Docs and bug fixes.