Added SWIG code