Removed superfulous function from widget module