Fix regression for @WebSocketService annotation introduced by #1609