changed Lg class name to Messages.