Instead of the magic number 4, don't you prefer to compute it at module import ```len(Spider.__mro__) + 1``` ? 

object_ref is an artifact there and we may make it optional (shortcut for object) or directly drop it.
And as this PR doesn't add a testcase for the warning it will be hard to catch when MRO changes.