diff --git a/polygraph/types/basic_type.py b/polygraph/types/basic_type.py
index 900110a..3498d26 100644
--- a/polygraph/types/basic_type.py
+++ b/polygraph/types/basic_type.py
@@ -3,6 +3,10 @@ from polygraph.types.definitions import TypeDefinition, TypeKind
 from polygraph.utils.trim_docstring import trim_docstring
 
 
+def typedef(type_):
+    return type_.__type
+
+
 class PolygraphTypeMeta(type):
     def __new__(cls, name, bases, namespace):
         default_description = trim_docstring(namespace.get("__doc__", ""))
@@ -17,7 +21,7 @@ class PolygraphTypeMeta(type):
                 meta = None
 
         if meta:
-            namespace["_type"] = TypeDefinition(
+            namespace["__type"] = TypeDefinition(
                 kind=getattr(meta, "kind"),
                 name=getattr(meta, "name", name) or name,
                 description=getattr(meta, "description", default_description),
@@ -32,7 +36,7 @@ class PolygraphTypeMeta(type):
         return super(PolygraphTypeMeta, cls).__new__(cls, name, bases, namespace)
 
     def __str__(self):
-        return str(self._type.name)
+        return str(typedef(self).name)
 
     def __or__(self, other):
         """
@@ -99,7 +103,7 @@ class Union(PolygraphOutputType, PolygraphType):
             message = "All types must be subclasses of PolygraphType. Invalid values: "\
                       "{}".format(", ".join(bad_types))
             raise PolygraphSchemaError(message)
-        type_names = [t._type.name for t in types]
+        type_names = [typedef(t).name for t in types]
 
         def __new_from_value__(cls, value):
             if not any(isinstance(value, t) for t in types):
@@ -132,7 +136,7 @@ class List(PolygraphType):
     """
 
     def __new__(cls, type_):
-        type_name = type_._type.name
+        type_name = typedef(type_).name
 
         def __new_from_value__(cls, value):
             if value is None:
@@ -157,7 +161,7 @@ class NonNull(PolygraphType):
     Represents a type for which null is not a valid result.
     """
     def __new__(cls, type_):
-        type_name = type_._type.name
+        type_name = typedef(type_).name
 
         if issubclass(type, NonNull):
             raise TypeError("NonNull cannot modify NonNull types")

PolygraphType: Rename `_type` to `__type`
diff --git a/polygraph/types/tests/test_scalars.py b/polygraph/types/tests/test_scalars.py
index 79ccae2..8eecd6a 100644
--- a/polygraph/types/tests/test_scalars.py
+++ b/polygraph/types/tests/test_scalars.py
@@ -1,5 +1,6 @@
 from unittest import TestCase
 
+from polygraph.types.basic_type import typedef
 from polygraph.types.scalar import ID, Boolean, Float, Int, String
 
 
@@ -43,7 +44,7 @@ class BooleanTest(TestCase):
     def test_class_types(self):
         self.assertTrue(Boolean(True))
         self.assertFalse(Boolean(False))
-        self.assertEqual(Boolean._type.name, "Boolean")
+        self.assertEqual(typedef(Boolean).name, "Boolean")
 
     def test_none(self):
         self.assertIsNone(Boolean(None))
diff --git a/polygraph/types/tests/test_types.py b/polygraph/types/tests/test_types.py
index 6dc1e57..aa4bd3a 100644
--- a/polygraph/types/tests/test_types.py
+++ b/polygraph/types/tests/test_types.py
@@ -1,19 +1,19 @@
 from unittest import TestCase, skip
 
 from polygraph.exceptions import PolygraphValueError
-from polygraph.types.basic_type import List, NonNull
+from polygraph.types.basic_type import List, NonNull, typedef
 from polygraph.types.scalar import Boolean, Int, String
 from polygraph.utils.trim_docstring import trim_docstring
 
 
 class TypeMetaTest(TestCase):
     def test_scalar_meta(self):
-        self.assertEqual(Int._type.name, "Int")
-        self.assertEqual(Int._type.description, trim_docstring(Int.__doc__))
-        self.assertEqual(String._type.name, "String")
-        self.assertEqual(String._type.description, trim_docstring(String.__doc__))
-        self.assertEqual(Boolean._type.name, "Boolean")
-        self.assertEqual(Boolean._type.description, trim_docstring(Boolean.__doc__))
+        self.assertEqual(typedef(Int).name, "Int")
+        self.assertEqual(typedef(Int).description, trim_docstring(Int.__doc__))
+        self.assertEqual(typedef(String).name, "String")
+        self.assertEqual(typedef(String).description, trim_docstring(String.__doc__))
+        self.assertEqual(typedef(Boolean).name, "Boolean")
+        self.assertEqual(typedef(Boolean).description, trim_docstring(Boolean.__doc__))
 
     def test_type_string(self):
         self.assertEqual(str(Int), "Int")
@@ -26,8 +26,8 @@ class TypeMetaTest(TestCase):
             """Not the description"""
             pass
 
-        self.assertEqual(FancyString._type.name, "String")
-        self.assertNotEqual(FancyString._type.description, "Not the description")
+        self.assertEqual(FancyString.__type.name, "String")
+        self.assertNotEqual(FancyString.__type.description, "Not the description")
 
 
 class NonNullTest(TestCase):

pip install -e .[dev]
parse_log_pytest
pytest
pytest
3.6
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
args==0.1.0
attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
autopep8==2.0.4
backcall==0.2.0
certifi==2021.5.30
charset-normalizer==2.0.12
clint==0.5.1
decorator==5.1.1
flake8==2.5.5
graphql-core==3.2.6
idna==3.10
importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
ipython==7.16.3
ipython-genutils==0.2.0
isort==5.10.1
jedi==0.17.2
mccabe==0.4.0
more-itertools @ file:///tmp/build/80754af9/more-itertools_1637733554872/work
packaging @ file:///tmp/build/80754af9/packaging_1637314298585/work
parso==0.7.1
pep8==1.7.1
pexpect==4.9.0
pickleshare==0.7.5
pkginfo==1.10.0
pluggy @ file:///tmp/build/80754af9/pluggy_1615976315926/work
-e git+https://github.com/polygraph-python/polygraph.git@a32d1a2545e146c26396ed6d8c2199deca50ca51#egg=polygraph
prompt-toolkit==3.0.36
ptyprocess==0.7.0
pudb==2017.1.2
py @ file:///opt/conda/conda-bld/py_1644396412707/work
pycodestyle==2.10.0
pyflakes==1.0.0
Pygments==2.14.0
pyparsing @ file:///tmp/build/80754af9/pyparsing_1635766073266/work
pytest==6.2.4
requests==2.27.1
requests-toolbelt==1.0.0
six==1.17.0
toml @ file:///tmp/build/80754af9/toml_1616166611790/work
tomli==1.2.3
traitlets==4.3.3
twine==1.8.1
typing_extensions @ file:///opt/conda/conda-bld/typing_extensions_1647553014482/work
urllib3==1.26.20
urwid==2.1.2
wcwidth==0.2.13
zipp @ file:///tmp/build/80754af9/zipp_1633618647012/work

name: polygraph
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - attrs=21.4.0=pyhd3eb1b0_0
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - importlib-metadata=4.8.1=py36h06a4308_0
  - importlib_metadata=4.8.1=hd3eb1b0_0
  - iniconfig=1.1.1=pyhd3eb1b0_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - more-itertools=8.12.0=pyhd3eb1b0_0
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - packaging=21.3=pyhd3eb1b0_0
  - pip=21.2.2=py36h06a4308_0
  - pluggy=0.13.1=py36h06a4308_0
  - py=1.11.0=pyhd3eb1b0_0
  - pyparsing=3.0.4=pyhd3eb1b0_0
  - pytest=6.2.4=py36h06a4308_2
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - toml=0.10.2=pyhd3eb1b0_0
  - typing_extensions=4.1.1=pyh06a4308_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zipp=3.6.0=pyhd3eb1b0_0
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - args==0.1.0
      - autopep8==2.0.4
      - backcall==0.2.0
      - charset-normalizer==2.0.12
      - clint==0.5.1
      - decorator==5.1.1
      - flake8==2.5.5
      - graphql-core==3.2.6
      - idna==3.10
      - ipython==7.16.3
      - ipython-genutils==0.2.0
      - isort==5.10.1
      - jedi==0.17.2
      - mccabe==0.4.0
      - parso==0.7.1
      - pep8==1.7.1
      - pexpect==4.9.0
      - pickleshare==0.7.5
      - pkginfo==1.10.0
      - prompt-toolkit==3.0.36
      - ptyprocess==0.7.0
      - pudb==2017.1.2
      - pycodestyle==2.10.0
      - pyflakes==1.0.0
      - pygments==2.14.0
      - requests==2.27.1
      - requests-toolbelt==1.0.0
      - six==1.17.0
      - tomli==1.2.3
      - traitlets==4.3.3
      - twine==1.8.1
      - urllib3==1.26.20
      - urwid==2.1.2
      - wcwidth==0.2.13
prefix: /opt/conda/envs/polygraph

polygraph/types/tests/test_scalars.py::IntTest::test_class_types polygraph/types/tests/test_scalars.py::IntTest::test_none polygraph/types/tests/test_scalars.py::StringTest::test_class_types polygraph/types/tests/test_scalars.py::StringTest::test_none polygraph/types/tests/test_scalars.py::FloatTest::test_class_types polygraph/types/tests/test_scalars.py::BooleanTest::test_class_types polygraph/types/tests/test_scalars.py::BooleanTest::test_none polygraph/types/tests/test_scalars.py::IDTest::test_id_int polygraph/types/tests/test_scalars.py::IDTest::test_id_string polygraph/types/tests/test_types.py::TypeMetaTest::test_scalar_meta polygraph/types/tests/test_types.py::TypeMetaTest::test_type_string polygraph/types/tests/test_types.py::NonNullTest::test_cannot_have_nonnull_of_nonnull polygraph/types/tests/test_types.py::NonNullTest::test_nonnull_accepts_values polygraph/types/tests/test_types.py::NonNullTest::test_nonnull_doesnt_accept_none polygraph/types/tests/test_types.py::NonNullTest::test_string polygraph/types/tests/test_types.py::ListTest::test_list_of_nonnulls polygraph/types/tests/test_types.py::ListTest::test_scalar_list
polygraph/types/basic_type.py
polygraph/types/basic_type.py