Template compilation

Clean task added,
template compilation,