Convert private variables as protedted.