Originally they were small brass hollow tube type insert.
That needed a special two piece tool that you inserted one part through the centre and the other part screwed into and peened the hollow brassy parts over.
A gorgeously made tool for such a small job, but a joy to use.
And the black plastic plugs have a small centre section that you push in and the plastic plug then pulls out.