Make template generic so it can work with new timing groups.