UDF callback functions and calling patterns

Calling patterns are steps the functions perform as results are gathered.