Eliminate warning about constness casted away