Figuring out typemaps