def __init__(self, router_data: dict | None = None):
        """Initialize the RouterData object.

        Args:
            router_data: the router_data dict.
        """
        object.__setattr__(self, "session", SessionData(router_data))
        object.__setattr__(self, "headers", HeaderData(router_data))
        object.__setattr__(self, "page", PageData(router_data))
Initialize the RouterData object.

        Args:
            router_data: the router_data dict.
        
reflex/istate/data.py