Type definition update for WS documentation