Edited function doc.