remove unused documents method from query class