Fix declaration of ws_statement_append_indirect
Add more extensive docu to ws_command