Template compilation begins