Added optional timestamps return value.