Cleaned up the return types of Query
Now operations return the true type which is encoded by the Repr abstract type