Change cosponsorship table to class