Change members to be protected instead of private