Unnecessary unused param casts