Replace use of DataField.model with tree parameter

Fix #216

Signed-off-by: Byron Ruth <b@devel.io>
Merge pull request #217 from cbmi/issue-216

Replace use of DataField.model with tree parameter