Added ability to parse an entire template without a rootID