Add converters for spare constraints. Update tests.