Add cofactor to curves definitions