SWIG 2.0 support