Documentation cleanup and formatting