Make name pointer also const in ws_command