Adds filter implementation.