Greatly improve documentation.