Adding yaml mode.