Separate GUI code from RDFMetadata.