Replace use of DataField.model with tree parameter

Fix #216

Signed-off-by: Byron Ruth <b@devel.io>