Update template classpath to include groovy.
Also formatting changes a bit.