Fix yard documentation warnings(fix #1163)