struct opts -> interface opts (object storage)