Added overloaded query() methods that include a 'distinct' argument.