Removed crud around the websocket instantiation.