Removing spaces.
Changed $parentSlug back to protected.
Moved setPosition() down.
Validating and setting $parentSlug.