Removed obsolete constraint generation functions.