Making offset optional for truncateAfter
Reordering addAnalog args and fixing timeCell handling