set all the methods and properties as protected