SWIG cleanup.