Changed all attributes to 'private'