Code and docs style fixes.