Updating the documentation with changes in pull request #22