Update YamlLoader - change private attribute to protected

It's need for my task with placeholder.