Fixed deprecated attributes in the Timeline and the grouping example