Added Widgets sensor and fixed minor migration bug.