Disable shunt to parent class calls if it is enabled by the generator.