Rename `extract-attachment` to `extract-reference`