Add `traverse` method to `GILProtected`