Fix python warnings about typedefs.