Check API version before using the correct call
Merge pull request #520 from bhariharan/unstable

Check API version before using the correct call