Are these two attributes supposed to be class-level attributes instead of instance attributes? It's weird to me since the __init__ allows setting the prefetch_count.