Add to docs. Fix array traversal.