Added tempalte manager.