Modify private method to protected