Part 2 of processor rewrite.