Simplify and fix backticks code generation.