Fix for newer version of cereal