dominator>=7 api migration
Merge pull request #12 from nikicat/master

dominator>=7 api migration