Change inheritance type to manage widget