The general concept of associated resources is not needed now resources are explicitly associated with a recording's graph.
Recording.new_resource() is not needed/used, so remove.
Update EDF annotations to use Segments.