Fix a missing import, document functions, and add a new contributor.