always inherit from an appropiate base class
diff --git a/Parser/asdl.py b/Parser/asdl.py
index 4b5676c..164ca6b 100644
--- a/Parser/asdl.py
+++ b/Parser/asdl.py
@@ -10,14 +10,12 @@
 Changes for Python: Add support for module versions
 """
 
-#__metaclass__ = type
-
 import os
 import traceback
 
 import spark
 
-class Token:
+class Token(object):
     # spark seems to dispatch in the parser based on a token's
     # type attribute
     def __init__(self, type, lineno):
@@ -45,7 +43,7 @@
         self.value = value
         self.lineno = lineno
 
-class ASDLSyntaxError:
+class ASDLSyntaxError(Exception):
 
     def __init__(self, lineno, token=None, msg=None):
         self.lineno = lineno