Add and document the query add and query ls commands.