Added method on base class to flush cache