Add typedefs to rollback_t example code