Change loading to use istreams instead of assets.