Whitespace and documentation cleanup