Make Template exchangeable on runtime