Documentation and trailing whitespace errors fixed.