Re-writes documentation