Optimized booking and statistic-code.