Make attributes protected