Add clearstatcache() to the loadAssets method