rename mappedtype to typemapper