Made Flux app integration work with new template elements.