Adds ValidAttribute and InvalidAttribute classes. 180 LOC, good day for my OCD.