implicitly add type to simple query