Clean up output and update docs.