Changing component class to take React.Spec

This is so that way we can actually take any class that matches the
React Specification.