mempool: deprecate specific get and put functions