extend the C api by a few more insertion functions