Expand templates

From Cactus Howto
Expand templates