A few instances of Kennedy advocating gay rights include his opposition to the Defense of Marriage Act and the constitutional ban on same-sex marriage , his efforts to gain funding for HIV / AIDS prevention and treatment programs and , most recently , his support for expanding hate crimes to include sexual orientation .