Multiple class inheritance using interfaces