Added layouts for errors.