Moved client call logic to the Hub class.