Allow to use api in higher version.
Merge pull request #1 from kramarz/master

Allow to use api in higher version.