Support inherit from typedefs in interfaces and dictionaries.