(Backends) Fix ClassCastException appearing in the CastAdder since I
cleaned it.