Removed some unnecessary const_casts