Moved the application of the the mustache template to a new operation.