Updated the mustache initialization logic.