Added getName for widget