Proc that can be serialized