whitespace and docs fixes