diff --git a/src/pydom/types/html/html_body_element.py b/src/pydom/types/html/html_body_element.py
index 2cdbbae..144ba0b 100644
--- a/src/pydom/types/html/html_body_element.py
+++ b/src/pydom/types/html/html_body_element.py
@@ -2,7 +2,7 @@
from pydom.types.html.html_element_props import HTMLElementProps
-class HTMLBodyElement(HTMLElementProps, total=False, closed=False):
+class HTMLBodyElement(HTMLElementProps, total=False):
alink: Optional[str]
"""
**@deprecated** Use the CSS color property in conjunction with the :active pseudo-class instead
diff --git a/src/pydom/types/html/html_element.py b/src/pydom/types/html/html_element.py
index 8d179d8..93c7bf6 100644
--- a/src/pydom/types/html/html_element.py
+++ b/src/pydom/types/html/html_element.py
@@ -1,4 +1,4 @@
-from typing import TYPE_CHECKING, Dict, Iterable, Union, Literal, Optional
+from typing import TYPE_CHECKING, Any, Dict, Iterable, Union, Literal, Optional
from typing_extensions import TypedDict
@@ -6,7 +6,7 @@
from pydom.styling import StyleSheet
-class HTMLElement(TypedDict, total=False, closed=False):
+class HTMLElement(TypedDict, total=False, extra_items=Any):
access_key: Optional[str]
auto_capitalize: Optional[str]
classes: Optional[Union[str, Iterable[str]]]
diff --git a/src/pydom/types/html/html_head_element.py b/src/pydom/types/html/html_head_element.py
index d64c131..9218ffe 100644
--- a/src/pydom/types/html/html_head_element.py
+++ b/src/pydom/types/html/html_head_element.py
@@ -2,5 +2,5 @@
from pydom.types.html.html_element_props import HTMLElementProps
-class HTMLHeadElement(HTMLElementProps, total=False, closed=False):
+class HTMLHeadElement(HTMLElementProps, total=False):
profile: Optional[str]