Expand templates

From OpenCog
Expand templates