Wrap more portions of the C-API.