Implement review comment
Merge pull request #142 from 28msec/mandatory-root-element-review

Implement review comment