Adjusted integration to the rewritten version of Knit.