Add various string functions to nfc.Device