Fixed required flag on output.