SWIG mode support