Some docs and fixes.