Adding invalid paraent/child handling.