Move filter callbacks to the class

This ensures that we can remove the filters at a later date.
Merge pull request #1 from humanmade/removable-filters

Move filter callbacks to the class