Adding code rewriter registration infrastructure.