clearAssets() renamed to disposeAssets()