doc: completed function reference documentation