I'm not a fan of this idea of setting a property on the function object; just make it a module-level variable.