Make decorator child only via getter method accessible
Currently the decorator can access the child via a member variable. This leads to segfaults when the child is NULL.
Therefore the access should be only over a checked getter method (This is also considered as good practice)