Creating pluggable templates