Fix using the typeMappings