Use one Class to replace three message interfaces