Added the ability to define filters