Added interface for swig