Implemented first draft of epoch tracking.