If, in the data sheet, I execute this code from the Action menu ...
field Leader // or field "Leader"
... and then open the Properties panel for that new field, it is shown as a Text field. If I then click in another field and return to the "Leader" field (with the Properties panel still open), it displays as an integer field.
I find this confusing.