Completes basic query methods