Passing session to filters.