Add domwrap-like querying