Add before and after filter support.