Remove dynamic casts.