Remove unnessesary type conversion.