Better error handling for missing assets.