Fix numeric type mapping.