More docs and error correction