Add a `-spec` to `resize_transfers/2` to make dialyzer more useful, since metadata queries always return to `term()`.