Don't pass the type variable now that it's not used in the query