Adapted version of the parent.