Fixed an omission with time diff, and added more docs