completed docType agnostic object creator