Add documentations for some undocumented functions