Added deprecation of template dirs parameter to timeline.