Include error handling for metadata headers.