Add support for inheritance (extends, mixins).