Implement yaml load / save methods.