Fix some more warnings from ._parent and ._protocol
Merge pull request #115 from thomasmulvaney/fix-warnings

Fix warnings