Added timing stuff.