Updated how constraints are exported.