feature: a Dynarex document can now be passed into the initialization method