Cofactor, TestCofactor, and removed reference returns