'Retrieve members for the given hits.
@param hits - a list of hits: [(elem, scoperef), ...]'

def _members_from_hits(self, hits, allowProtected=None, allowPrivate=None):

    members = set()
    for hit in hits:
        members.update(self._members_from_hit(hit))
    return members
