def target
      @target ||= begin
        parent = context[:parent]
        if parent.is_a? RailsWorkflow::Operation
          parent.becomes(RailsWorkflow::Operation)
        elsif parent.is_a? RailsWorkflow::Process
          parent.becomes(RailsWorkflow::Process)
        end
      end
    end
def target
      @target ||= begin
        parent = context[:parent]
        if parent.is_a? RailsWorkflow::Operation
          parent.becomes(RailsWorkflow::Operation)
        elsif parent.is_a? RailsWorkflow::Process
          parent.becomes(RailsWorkflow::Process)
        end
      end
    end
Changing custom process or operation classes to default classes.
 If we store error with a custom class and somebody will delete
 or rename this class - we will not be able to load error.