Fix whitespace errors.
Fixed documentation errors.
Fixed compilation errors.