FEATURE: Allow templates to be nested.