DRY up node-wrapping