Documentation, style changes and fixes.