Updated docs in some functions.