Made object properties public instead of protected.