Document everything with YARD and fix some bugs along the way.