parentNode can now be a function

Allowing for more advanced traversion (e.g. nested properties)