Save and read meta data. Untested.