What is the reason to make all attributes of this class public?