In book:
But in source code:
Is that a misunderstanding or is the book outdated?
parent is not a optional members.