removed all the useless stuff from the typemap