Docs, Tests, minor fixes.