Adding the constraints after the import.

/cc @frankfarmer