In Cython, remove unused type defs.