Simplified the Extractor interface and removed method that took a Class.

Changed EnumValueExtractor to take Class in the constructor instead.