typo
added output format documentation. ref #26
fixed format functions that did not return $this