Add clearCache method for future use.