Expand and cleanup documentation.