Upgrade to 2.7.2, fix some deprecation warnings
Merge pull request #4 from gzsombor/master

Upgrade to 2.7.2, fix some deprecation warnings