Issue #3: Hooked the specialized kernel function pretty printer of the code generators into the common rewriter