Significant overhaul to the documentation.