Imported first version from SignalR hub tutorial.