Add SWIG defination.