public static Messages getInstance() { if (Messages.instance == null) { Messages.instance = new Messages(); } return Messages.instance; }
public static void purge() { Messages.instance = null; }