[#47873081] Move the metadata into a class.