Add handling for mempool command.