package body State is
   function Next_Id return Natural is
   begin
      if Calls < Natural'Last then
         Calls := Calls + 1;
      end if;
      return Calls;
   end Next_Id;
end State;
