[minor] Add support for automatic unloading of assets