removing unused classes in the widget controllers