adds full support for version 31.0 of the API
Merge branch '31'
adds full support for version 31.0 of the API
Merge branch 'v31'