Root can be given in de constructor.
Error is returned in the callback when needed.