issue #6.

raise SyntaxError when constructing one of the deprecated classes