Add injecting of pills into the generated code