Clean up code by removing value_class method

"klass" returns the class that can be used to create valid objects.
"klasses" returns a list of classes that can be considered valid
objects.
Extract class from filter name