adapt more type structs to Py3.4