Fix SWIG interface according the zero-cache 2.0 API