Remove std::cerr statements