Fix Python iface for new operator API (#20).