Implement the filter that would call delete and put automatically