Mandatory class about consent would address sexual harassment