Cleaning up unused remainders code - thanks to cphr for pointing this out.