Add pickle to/from ROOT methods.