Some functions added to WhatsBotThread (trait)