Add timers to checkpointing.
Add template constraints.