Added timer class.