Scratch that, I don't think the `decorator` library is helpful in this case.