FEAT: added support for multiple inheritance.