Partial implementation of func Wrap(...)