docs: reference toplevel functions