Updates to documentation and minor fixes.