rename PredoFunc to Before
rename Handler.WriteN to After