First-draft main documentation.