Remove redundant type coercion.