Improved performance of YAML decoding.