Copied over from annotations.