Hrmm... I might be able to use `partial` still. I'll play around with it and see if I can get it to work (and how the performance is affected, if at all).