Add functions to retrieve nodes' siblings and parents