Added support for some subscription template stuff.