Remove duplicate parse_class_spec method.

This removes a copy+paste from Object, and just uses the method in Object instead. The method differs from what's currently in Object due to fixes only applied to the one method.