Devices for implanting pellets