Make dumping optional.