Simplified history_t and history definition