Moved the reload() method into MainHandler.