diff --git a/exercises/Exercise.php b/exercises/Exercise.php
index ece0fb14abe9e8fb9f8236a306e3b69f97d438a8..19583753646a0e2e7887b830e01c734a7e13f3c4 100644
--- a/exercises/Exercise.php
+++ b/exercises/Exercise.php
@@ -423,31 +423,25 @@ abstract class Exercise extends SimpleORMap
     }
 
     /**
-     * Create a template for solving an exercise.
-     *
-     * @return The template
+     * Return a template for solving an exercise.
      */
-    function getSolveTemplate($solution, $assignment, $user_id)
+    public function getSolveTemplate($solution, $assignment, $user_id)
     {
         return $this->getViewTemplate('solve', $solution, $assignment, $user_id);
     }
 
     /**
-     * Create a template for correcting an exercise.
-     *
-     * @return The template
+     * Return a template for correcting an exercise.
      */
-    function getCorrectionTemplate($solution)
+    public function getCorrectionTemplate($solution)
     {
         return $this->getViewTemplate('correct', $solution, $solution->assignment, $solution->user_id);
     }
 
     /**
-     * Create a template for printing an exercise.
-     *
-     * @return The template
+     * Return a template for printing an exercise.
      */
-    function getPrintTemplate($solution, $assignment, $user_id)
+    public function getPrintTemplate($solution, $assignment, $user_id)
     {
         return $this->getViewTemplate('print', $solution, $assignment, $user_id);
     }
diff --git a/locale/en/LC_MESSAGES/vips.po b/locale/en/LC_MESSAGES/vips.po
index 991f38599647d2f6bd60c1503eb8393747ab120e..4d713ab64a6c5f68e118a35618059608bbff87f3 100644
--- a/locale/en/LC_MESSAGES/vips.po
+++ b/locale/en/LC_MESSAGES/vips.po
@@ -2,7 +2,7 @@
 msgid ""
 msgstr ""
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2022-12-16 12:32+0100\n"
+"POT-Creation-Date: 2022-12-16 12:45+0100\n"
 "PO-Revision-Date: 2011-12-07 13:49+0200\n"
 "Language: en\n"
 "MIME-Version: 1.0\n"
@@ -1151,7 +1151,7 @@ msgid "Titel"
 msgstr "Title"
 
 #: controllers/solutions.php:1555 exercises/Exercise.php:103
-#: exercises/Exercise.php:591 exercises/Exercise.php:612
+#: exercises/Exercise.php:585 exercises/Exercise.php:606
 msgid "Aufgabe"
 msgstr "Task"
 
@@ -1189,7 +1189,7 @@ msgstr ""
 "This page gives a summary of the average number of points and the proportion "
 "of correct solutions for each exercise."
 
-#: exercises/Exercise.php:550 exercises/Exercise.php:572
+#: exercises/Exercise.php:544 exercises/Exercise.php:566
 msgid "Unbekannter Aufgabentyp: "
 msgstr "Unknown task type: "