Adds a necessary method to Messages.pm