The agreement is designed to ensure more cooperation between nations in the event of another pandemic.