Implement querying capabilities from the daemon.