Allowing class to be set on input file.