Make constraints work at top level.