More documentation and a few fixes.