Added add_constraint with unique and deferrable options.