Allow using template variables in "defaults" field.

Change-Id: I876ab7fa61258e84b00a67325aeb9234aff8fa62
Merge "Allow using template variables in "defaults" field."