add objecthash, token class