Add debug info for wrappers.