Added functions to yaml