add shim function for deprecated Wrap/Unwrap functions