Added editing for constraints.