Support the storage of structural metadata

Per #247.