Changed to work with CGExtensions 1.8
Minor template fixes.