If a transitive class contains the empty set and is closed under pairing and union, then satisfies extensionality, empty set, pairing, and union. Transitivity makes all members of each visible inside , so the ambient witnesses have the same required membership relations internally.
Codex Wiki