Corrected documentation of add_widget function