Fixed 'call to undefined method addToRoots()'
Fixed 'call to undefined method addToRoots()'