Why declare member variable as `public`?