The nonlocal keyword in a server module works just fine, but the IDE reports it as not implemented.
Thanks @stefano.menci, I’ve added it to our internal issue tracker!