Added flush method to Tracker class