Add class inheritance