Minor tweaks to keep code formatting consistent
Added output example
Added a little warning
Updated example to use method chaining for better readability
Updated output example
Added $format argument