Big improvements to doc.