This file still WIP and probably won't stay like this. I'm using it also in the exponential smoothing PR. I'll likely settle it down in that PR or after when I fix also the other filters. I don't think I'm actually using the decorators anywhere yet, I'm still getting a sense of what we're going to need here. I can do utils -> _utils, if better.