Extend add_correspondence API method to optionally accept a state param