[close #1] Updated doc-strings for functions.