Added an optional program parameter that fails on scheme errors.