Fix for widgets crated before 2.0.0
