Watch out for database commands:

to_list(callback)

must now be

to_list(callback=callback)