duplicate MessageTemplate.php in order to allow functions to call either for upgrade support