Updated documentation to match version v2.1 of the library