Add documentation for metadata