Fix some more warnings from ._parent and ._protocol