Respect owned-ids, and add documentation for queues