Fixes #6087 deprecated get_annotation_url().