Tidying up to improve documentation.