Added YARD documentation.