Set properties as protected rather than private