Refactor setParent to set_Plugin().

Code Docs.