Add in support for longs (for python2) and allow both addresses and address64s to be longs.