Update YamlLoader - change private attribute to protected