Add const_cast case