Make some attributes protected