Added .query() method.