Updated sample generated code.