'The initialization method.'

def Initialize(self):

    super(GRRFlow, self).Initialize()
    if ('r' in self.mode):
        state = self.Get(self.Schema.FLOW_STATE_DICT)
        self.context = self.Get(self.Schema.FLOW_CONTEXT)
        self.runner_args = self.Get(self.Schema.FLOW_RUNNER_ARGS)
        args = self.Get(self.Schema.FLOW_ARGS)
        if args:
            self.args = args.payload
        if state:
            self.state = AttributedDict(state.ToDict())
        else:
            self.state = AttributedDict()
        self.Load()
    if (self.state is None):
        self.state = AttributedDict()
