feat(resource): add wrapInstanceMethod