Made widget inherit