Improve clear of runtime cache.