Enhance funtions documentation