Add clear static cache function to UnitOfWork