We need to pass definition factory
Merge pull request #23 from harikt/docupdate

We need to pass definition factory