Updated documentation in line with latest changes.