Document and reorganize all.rb.