Added LoadFromMemory for assets.