Handle a remainder properly.

Some spices need a proper remainder for fetching data from the apis, so we have to
validate them before sending otherwise the apis would be overcalled.
ref #122 
Ahh, I thought It was never used since the answer was Wikipedia when I tried.
:grin: