Remove C style casts