Removing std::cast