Support for swig 3.0. Improved docu