Add support for metadata.