Added support for version 1.6 of the WebAPI.