Throw TypeError when too few parameters are passed to Futures API