Preparing template integration