Don't define messages inside the class, they are not static inner classes