Added Template#replaceTokens()
Synced to afcfa5f0dd5f5116a015358071d1dab41f0f52f4
Synced to afcfa5f0dd5f5116a015358071d1dab41f0f52f4