Updated yaml.php to make Yaml methods static