removed "secret" argument from thaw and freeze method and moved it to an own setter to set state secret in a global manner
allow to inject additional data into state on freezing
allow to inject additional data into state when fetching state in template