PHPStorm suggested changing this the properties to protected (#5273)