Remove casts of id and line_no.