add some validation methods to the seqio classes