This will throw an exception if the `currentNode` doesn't have a parent. Is that case possible? I guess only if the method is called on the body?