Fix broken root feature by adding a new option, added a test, fixed docs