doc: more function docs.