Brought the documentation in the code up to date with the documentation in the readme.