Code injection utilities