Resource model origin. Deprecate resource object. Closes #26