Refactored processor.