Decrease swig module dependencies.