make it possible to override the typemap