TextWidget now has similar dependencies as other widgets