decorator = decorator(decorator)(decorator)
There was a subtle bug when leaving out the last (decorator). I know, it's very silly.