Fix super() call in constructor.
Fix a bug when getting the name of the base class for @extends.