def __init__(self): api.add(self, "port_out", crest.Output(res, 7777))
def __init__(self): api.add(self, "port_in", crest.Input(res, 5555))
def __init__(self): api.add(self, "second_state", crest.State())
def __init__(self): api.add(self, "sub", SubEntity())
def __init__(self): api.add(self, "state", newstate)