Left notes on shitty impl of parameter folding.
Need to do this again, it sucks.