Removed code to load template from string.
(cherry picked from commit 6ed11e0)