Added alerts directive and more WebSocket alerts