Add support for multiple marks in stats file.