How to initialize variables in a `param.Parameterized` class?

I have the following code:

class myClass(param.Parameterized):

    select = param.Selector(...)
    add = param.Event(label='Add')
    text = param.String("Some text")


    def __init__(self, name):
        self.name = name

But I get this error: AttributeError: 'myClass' object has no attribute 'initialized'. Same error if I try:

def __init__(self, name, **params):
    self.name = name
    super().__init__(**params)

You need to first run the constructor and then initialize your variables. Note that the ‘name’ variable is already taken by Parametrized and cannot be modified.

def __init__(self, name:str, **params):
        super().__init__(**params)
        self.custom_name = name