After getting it working with swig.