Refactor 'parent' to 'plugin'.