Language changes: std::vec -> std::slice.