Refactor Processor type