Minor: Fixed the WS initialization.