Somewhat functional register pass.