Improvements to documentation, minor clean ups.