For a standard UI widget when looking at the file you will notice there are two types of functions; those defined with an underscore such as _clear and _trigger in ui.draggable.js and those that do not have an underscore, such as serialize and toArray in ui.sortable.js.