Add #root and #resolve().
Add #isMaster and update README.