Added support of `root` option