Merge pull request #4 from felixge/root

Implement Root method