Simplify querying. Add example code.