Clean up AssetLibrary so that it does not need to be aware of the different types of assets.