I just have to comment here. The need for this line took me about 4 hours to find as it was implicitly returning `None` for some special attributes the pickling library was looking for.