Kill a bunch of C-style casts