ApiInfo call has been removed from websocket factory
redundant imports have been removed