passing callback in discovery widget is now optional