Processing pipelines refactoring