Used types.SimpleNamespace where available.