Add SWIG interface