Change private to protected

Signed-off-by: crynobone <crynobone@gmail.com>