API version argument

I need to use the new API, so I added a way to pass in the new API version.  I edited this on github, so I haven't run tests.  But, I believe the code is good.