Document and spacing cleanup