Add WS to registry.