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

dominator>=7 api migration