I don't think you need this `const_cast` call here