Add throwSyntaxError support.