Support prefetch_related, avoid unnecessary db queries