Add legacy has-annotation so that old implementations don’t break.