document typemaps