-record(frame, {arity :: integer(), framestate :: gwr@spec:frame_state()}).