[runtime] Make more wrappers use a WrapperInfo structure.