Updated docs for functions