Revert "Added support for setting rootPrefix."

This reverts commit 6f3870a09c0c7ceefe8823c7f571f4c865ee700d.