Set level and index on root.
Merge pull request #541 from tobeytailor/timeline

Fix issue #523.