Help older SWIGs to get the right Python type.