Made TableQuery<T> partial