Changes to the calculation and caching of timelines. Requires update.php to be run