Better parser for IO samples.