Rename private field "append" method to "format" and optimize fields.