Docs, cleanup, bug fixes.