Created methods to process YAML nodes.