Handle byte and short types in coercion.