Adding templates for TypedMessages