Make this a `private` method, and make it `getFilter($format)` instead of calling `setFormat` later on