Replace `pkg` with `name`, which is more canonical.