Fixes #14: Added documentation for version 2