mempool: remove deprecated get and put functions