Add YARD documentation of public formatter APIs