Refactoring to pipe processors into each other