Processor refactoring