Added WS support.

Added WS support.