Move dur_stat typedef to improve encapsulation.