allow defining before and after filters inline