GRIM: Add a const_cast as making ts const is not worth the effort