Revert "Merge pull request #28 from ramnivas/fix-RestTemple"

This reverts commit e3586d8379cfa3b2b9f44f84150751eca587d124, reversing
changes made to fbfc885a794e621f56ab2ccca41b7fe8e00eeeaf.