Change extract_annotations return value.