Functional version of the states with parents as strings.