Work around isaacs/npm#3443.
Document signatures of functions.