Wrap with C-style interfaces