Implemented multiple inheritance