filter: Register the filter chain as the last task.