Fixed regression in SWIG interface (thanks to Benjamin Mumm for reporting this) and...