Modularizing validation of discs.