Making DataTypeFactory support short types