Added YARD documentation. [ci skip]