More template stuff.