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

dominator>=7 api migration