def METHOD_NAME(self, _type=ZR, value=None):
    """initializes an object with a specified type and value"""
    if value is not None:
        return METHOD_NAME(self.ec_group, _type, value)
    return METHOD_NAME(self.ec_group, _type)