Added experimental timing code.