it turns out that the decorator &quot;rewrite&quot; the fn code. that&#x27;s at least how the synchronized decorator does its own magic. Once I saw that in the source code (and other few hacks) I was sure I was never going to use this lib :)