Remove reference to bob::core::cast