whoops must delete type field before passing to bsv Pin class