Add utility generic functions to blockchain.lisp