Improvements to documentation etc.