Eliminate unnecessary generality (type var) of QueryParser