Bit more documentation and fixes.